
<load href="__PUBLIC__/Js/UserJs.js" />
<script language="javascript">
function yhServer(Ful,lx){
	var str = $F(Ful).replace(/^\s+|\s+$/g,"");
	var re = /[^(\w){6,20}$]/g;
	str = str.replace(re,"");
	document.getElementById(Ful).value = str;
	if (str != ""){
		if(lx==0){ThinkAjax.send('__APP__/Fck/check_shopid/','ajax=1&shopid='+str,'',Ful+'1');}
		if(lx==1){ThinkAjax.send('__APP__/Fck/check_reid/','ajax=1&reid='+str,'',Ful+'1');}
		if(lx==2){ThinkAjax.send('__APP__/Fck/check_fid/','ajax=1&fid='+str,'',Ful+'1');}
		if(lx==3){ThinkAjax.send('__APP__/Fck/check_userid/','ajax=1&userid='+str,'',Ful+'1');}
	}
}
function guolv(Ful){
	var str = $F(Ful).replace(/^\s+|\s+$/g,"");
	var re = /[^(\w){6,20}$]/g;
	str = str.replace(re,"");
	document.getElementById(Ful).value = str;
}
</script>
<style>
.w1000 { width:100%; height:100%; margin:0 auto 0 auto;}
.header {width:100%; height:60px; background-color:#2E962E; margin-top:-20px;}
.header1 {width:100%; height:40px; background-color:#00247A;}
.reglogin { width:15%; height:30px; float:right; margin-top:10px; margin-right:10%; background-color:#2E962E; border-radius:3px;  text-align:center}
.content { width:100%; height:100%;}
.contentleft { float:left; width:20%;}
.contentright { float:right; width:80%;}
.accounttitle h1 span { color:#2E962E;}
.regcontent { width:100%; background-color:#EFEFEF; padding-left:50px; padding-top:30px;}
.button_text {width:100px; height:35px;}
.rightbom { margin-bottom:200px;}
.zhuce{ margin-left:224px;}
</style>
<!--w1000开始-->
<div class="w1000">
<!--header开始-->
<div class="header"></div>
<!--header结束->
<!--header1开始-->
<div class="header1">
<!--reglogin开始-->
<div class="reglogin"><a href="http://{$server}" target="_blank">登录柴尔德金融互助社区</a></div>
<!--reglogin结束-->
</div>
<!--header1结束->
<!--content开始-->
<div class="content">
<!--contentleft开始-->
<div class="contentleft"></div>
<!--contentright开始-->
<div class="contentright">
<!--accounttitle开始-->
<div class="accounttitle"><h1><span>注册会员</span></h1></div>
<!--accounttitle结束-->
<div class="regcontent">
    <form method='post' id="form1" name="form1" action="__URL__/us_regAC"/>
    <table width="100%" border="0" cellpadding="3" cellspacing="0" class="tab4">
      <tr style="display:none;">
        <td width="20%" ><span style="color:red;">*</span> 所属报单中心：</td>
        <td width="20%"><input name="shopid" type="text" id="shopid" value="{$shopname}" class="ipt" onKeyUp="guolv(this.name)" onBlur="javascript:yhServer(this.name,'0');" /></td>
        <td width="60%"><div id="shopid1" class="info"><div id="0" class="focus_r"><div class="msg_tip">请填写所属报单中心编号。</div></div></div></td>
      </tr>
      
      <tr style="display:none">
        <td ><span style="color:red;">*</span> 接点人：</td>
        <td><input name="FID" id="FID" type="text"  value="" class="ipt" onKeyUp="guolv(this.name)" onBlur="javascript:yhServer(this.name,'2');" /></td>
        <td><div id="FID1" class="info"><div id="2" class="focus_r"><div class="msg_tip">请填写接点人。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> {$User_namex}：</td>
        <td>
      <!--  <input name="UserID" id="UserID" type="text"  value="{$flist['UserID']}" class="ipt" onBlur="javascript:yhServer(this.name,'3');"/>-->
      <input name="UserID" id="UserID" type="text" value="" class="ipt" onBlur="javascript:yhServer(this.name,'3');"/>
        </td>
        <td><div id="UserID1" class="info"><div id="3" class="focus_r"><div class="msg_tip">此会员编号用于登录系统使用。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> {$Nick_namex}：</td>
        <td><input name="nickname" type="text" class="ipt" id="nickname" onKeyUp="guolv(this.name);"/></td>
        <td><div id="nickname1" class="info"><div id="14" class="focus_r"><div class="msg_tip">请输入您的昵称。</div></div></div></td>
      </tr>
      <tr style="display:none">
        <td >所在区域：</td>
        <td><select name="TPL" id="TPL">
            <option value="0" {$TPL[0]}> 左区 </option>
            <option value="1" {$TPL[1]}> 右区 </option>
        </select></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="3" style="height:5px;"><hr></td>
      </tr>
      <tr>
        <td width="20%" ><span style="color:red;">*</span> 推荐人：</td>
        <td width="20%"><input name="RID" id="RID" type="text" value="{$rs['user_id']}" class="ipt" onKeyUp="guolv(this.name)"  onBlur="javascript:yhServer(this.name,'1');" readonly="readonly" /></td>
        <td width="60%"><div id="RID1" class="info"><div id="1" class="focus_r"><div class="msg_tip">请填写推荐人。</div></div></div> </td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> 推荐人手机：</td>
        <td><input name="rephone" type="text" class="ipt"  id="rephone" onFocus="notice('18','')"  onblur="notice('18','none')" onKeyUp="javascript:Null_Full(this.name)" value="{$rephone}"  readonly="readonly"/></td>
        <td><div id="rephone1" class="info"><div id="18" class="focus_r"><div class="msg_tip"></div></div></div></td>
      </tr>
       <tr>
        <td colspan="3" style="height:5px;"><hr></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> 一级密码：</td>
        <td><input name="Password" type="password" class="ipt"  id="Password" onblur="yhPass(this.name);" value=""/></td>
        <td><div id="Password1" class="info"><div id="4" class="focus_r"><div class="msg_tip">请使用字母加数字或符号的组合密码。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> 确认一级密码：</td>
        <td><input name="rePassword" type="password" class="ipt"  id="rePassword" onblur="yhrePass(this.name,'Password');" value=""/></td>
        <td><div id="rePassword1" class="info"><div id="5" class="focus_r"><div class="msg_tip">确认一级密码。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> 二级密码：</td>
        <td><input name="PassOpen" type="password" class="ipt"  id="PassOpen" onblur="yhPass(this.name);" value=""/></td>
        <td><div id="PassOpen1" class="info"><div id="6" class="focus_r"><div class="msg_tip">请使用字母加数字或符号的组合密码。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> 确认二级密码：</td>
        <td><input name="rePassOpen" type="password" class="ipt"  id="rePassOpen" onblur="yhrePass(this.name,'PassOpen');" value=""/></td>
        <td><div id="rePassOpen1" class="info"><div id="7" class="focus_r"><div class="msg_tip">确认二级密码。</div></div></div></td>
      </tr>
<!--      <tr style="display:none">
        <td ><span class="zc_hong">*</span> 密保问题：</td>
        <td>
        <select name="wenti">
          <volist name='wentilist' id='voo'>
              <option value="{$voo}" <eq name="key" value="0">selected</eq> >{$voo}</option>
          </volist>
        </select></td>
        <td></td>
      </tr>-->
      <tr style="display:none">
        <td ><span style="color:red;">*</span> 密保答案：</td>
        <td><input name="wenti_dan" type="text" class="ipt"  id="wenti_dan" value="" maxlength="255"/></td>
        <td><div id="wenti_dan1" class="info"><div class="focus_r"><div class="msg_tip">输入密保答案。</div></div></div></td>
      </tr>
      <tr>
        <td colspan="3" style="height:5px;"><hr></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> 开户银行：</td>
        <td><select name="BankName" onChange="javasctip:bank_us(this.value);">
          <volist name='bank' id='voo'>
              <option value="{$bank[$key]}">{$bank[$key]}</option>
          </volist>
        </select></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> <span id="bank_id"><eq name="bank[0]" value="财付通">帐号<else />银行账号</eq></span>：</td>
        <td><input name="BankCard" type="text" class="ipt" id="BankCard" onKeyUp="javascript:Null_Int(this.name)" value="" maxlength="19" /></td>
        <td><div id="BankCard1" class="info"><div id="8" class="focus_r"><div class="msg_tip">请输入账号。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span> 开户姓名：</td>
        <td><input name="UserName" type="text" class="ipt"  id="UserName" onKeyUp="javascript:Null_Full(this.name)" value="" maxlength="10" /></td>
        <td><div id="UserName1" class="info"><div id="9" class="focus_r"><div class="msg_tip">请输入您的姓名。</div></div></div></td>
      </tr>
      <tr>
        <td >开户省份：</td>
        <td><select name="BankProvince" id="s1" >
            <option></option>
          </select></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td >开户城市：</td>
        <td><select name="BankCity" id="s2" >
            <option></option>
          </select></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td >详细开户地址：</td>
        <td><input name="BankAddress" type="text" class="ipt" id="BankAddress" value="" /></td>
        <td><div id="BankAddress1" class="info"><div id="10" class="focus_r"><div class="msg_tip">请输入您的详细开户地址。</div></div></div></td>
      </tr>
      <script language = JavaScript>
        var s=["s1","s2"];
        var opt0 = ["请选择","请选择"];
        function setup()
        {
            for(i=0;i<s.length-1;i++)
            document.getElementById(s[i]).onchange=new Function("change("+(i+1)+")");
            change(0);
        }
        setup();
      </script>
      <tr>
        <td colspan="3" style="height:5px;"><hr></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span>身份证号：</td>
        <td><input name="UserCode" type="text" class="ipt" id="UserCode" onKeyUp="javascript:Null_Full(this.name)" value="" maxlength="18" /></td>
        <td><div id="UserCode1" class="info"><div id="11" class="focus_r"><div class="msg_tip">请输入您的身份证号。</div></div></div></td>
      </tr>
      <tr>
        <td >联系地址：</td>
        <td><input name="UserAddress" type="text" class="ipt" id="UserAddress" onFocus="notice('12','')"  onblur="notice('12','none')" onKeyUp="javascript:Null_Full(this.name)" /></td>
        <td><div id="UserAddress1" class="info"><div id="12" class="focus_r" style="display:none;"><div class="msg_tip">请输入您的联系地址。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span>微信号：</td>
        <td><input name="weixin" type="text" class="ipt"  id="weixin" onFocus="notice('19','')"  onblur="notice('19','none')" onKeyUp="javascript:Null_Full(this.name)" value="" /></td>
        <td><div id="UserEmail1" class="info"><div id="19" class="focus_r" style="display:none;"><div class="msg_tip">请输入您的微信号l。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span>E-Mail：</td>
        <td><input name="UserEmail" type="text" class="ipt"  id="UserEmail" onFocus="notice('15','')"  onblur="notice('15','none')" onKeyUp="javascript:Null_Full(this.name)" value="" /></td>
        <td><div id="UserEmail1" class="info"><div id="15" class="focus_r" style="display:none;"><div class="msg_tip">请输入您的 E-Mail。（找回密码时使用，请认真填写）</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span>Q Q：</td>
        <td><input name="qq" type="text" class="ipt"  id="qq" onFocus="notice('16','')" onblur="notice('16','none')" onKeyUp="javascript:Null_Int(this.name)" value="" /></td>
        <td><div id="qq1" class="info"><div id="16" class="focus_r"><div class="msg_tip">请输入您的 Q Q。</div></div></div></td>
      </tr>
      <tr>
        <td ><span style="color:red;">*</span>联系电话：</td>
        <td><input name="UserTel" type="text" class="ipt"  id="UserTel" onFocus="notice('13','')" onblur="notice('13','none')"  onKeyUp="javascript:Null_Int(this.name)" value=""/></td>
        <td><div id="UserTel1" class="info"><div id="13" class="focus_r"><div class="msg_tip">请输入您的联系电话。</div></div></div></td>
      </tr>
      
        <tr style="display:none;">
            <td >申请级别：</td>
            <td colspan="2">
            <volist name="s9" id="svo">
            <eq name="key" value="0">
            <input name="u_level" type="radio" id="radio" value="{$key}" checked="checked"  />
            <strong><span class="STYLE3">{$s9[$key]}元</span></strong>
            </eq>
            </volist>
            </td>
      </tr>
      <tr>
        
        <td colspan="3"><span class="center">
        <div class="zhuce">
          <input name="submit1" id="Access" type="submit" class="button_text" value="注册" />
&nbsp;&nbsp;
			<input name="重置" type="reset" class="button_text" value="重置" id="重置" />
        </div></td>
        
      </tr>
    </table>
    </form>
   </div>
   <!--regcontent结束-->
   <div class="rightbom"> </div>
   </div>
  <!--contentright结束-->
  </div>
  <!--content结束-->
</div>
<!--w1000结束-->
</body>
</html>